package dao;

import java.util.Date;
import java.util.ArrayList;

import model.PublicHolidayDTO;
import model.search.PublicHolidaySearchDTO;

public interface PublicHolidayDAO {
	public void insertPublicHoliday(PublicHolidayDTO pubDay)
			throws DAOException;

	public void updatePublicHoliday(PublicHolidayDTO pubDay)
			throws DAOException;

	public void deletePublicHoliday(PublicHolidayDTO pubDay)
			throws DAOException;

	public PublicHolidayDTO getPublicHoliday(Date startDate)
			throws DAOException;

	public ArrayList<PublicHolidayDTO> getAll() throws DAOException;

	public ArrayList<PublicHolidayDTO> findPublicHolidayByCriteria(
			PublicHolidaySearchDTO data) throws DAOException;

}
